package meforbio.wip.pint;

import java.util.Collection;
import java.util.Map;

import combi.wip.sipper.modeling.metabolicNetworks.MetabolicNetwork;
import combi.wip.sipper.modeling.reactions.Reaction;


public abstract class AbstractProcessHitting extends ProcessHitting{

	protected Map<String, Sorte> idToSorte;
	
	public String generateInitStateCompounds(Collection<String> presentCpdsSet)
	{
		return generateInitStateFromID(presentCpdsSet,1);
	}
	
	public String generateInitStateFromID(Collection<String> ids, int state)
	{
		String result = "";
		for (String c : ids)
		{
			result = result + addUnderscore(c) + " " +state+", ";
		}
		int fin = result.lastIndexOf(',');
		if (fin >0)
		return result.substring(0, fin);
		else return result;
	}
	
}
